﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GoogleTranslateTest._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>\
    <script type="text/javascript" language="javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'zh-CN',
    includedLanguages: 'fr,en,vi,zh-TW,zh-CN',
    floatPosition: google.translate.TranslateElement.FloatPosition.BOTTOM_RIGHT
  });
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</head>
<body>
    <form id="frm" runat="server">
    <div>
        <asp:Button ID="btnFirst" runat="server" Text="TestFirst" OnClick="btnFirst_Click" /><asp:TextBox
            ID="txtFirst" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="GetLangInfo" />花飘万家雪是要霜栽地苛栽夺花飘万家雪塔顶进行三朝日圆顶里加苛夺
    </div>
    </form>
</body>
</html>
